package com.code.train.service;

import com.code.train.req.ConfirmOrderDoReq;
import com.code.train.req.ConfirmOrderQueryReq;
import com.code.train.resp.ConfirmOrderQueryResp;
import com.code.train.resp.PageResp;
import jakarta.validation.Valid;

/**
 * TrainService
 *
 * @param
 * @author 南汉卿
 * @return
 * @date 2025/8/21 23:57
 */
public interface ConfirmOrderService {
    void save(ConfirmOrderDoReq req);

    PageResp<ConfirmOrderQueryResp> queryList(ConfirmOrderQueryReq req);

    void delete(Long id);

    void doConfirm(@Valid ConfirmOrderDoReq req);
}